package com.dingwen.treasure.model.entity;

import com.dingwen.treasure.base.enums.ActivityStatusEnum;
import io.swagger.annotations.ApiModel;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 　ActivityInfo TODO 实体
 * 　@author dingwen
 * 　@date 2022/5/14$
 */
@ApiModel(value = "ActivityInfo", description = "活动信息表")
@EqualsAndHashCode()
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
@Setter
@Builder
public class ActivityInfo {

    /**
     * 活动ID
     */
    private Long id;

    /**
     * 活动名称
     */
    private String name;

    /**
     * 活动状态 （TODO 枚举类型和数据库实体翻译对照）
     */
    private ActivityStatusEnum status;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

}
